home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2086 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: ux7.cso.uiuc.edu!djhoward
  2. From: djhoward@ux7.cso.uiuc.edu (howard daniel joseph)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Must I free my linked lists? (GCC)
  5. Date: 26 Jan 1996 22:00:13 GMT
  6. Organization: University of Illinois at Urbana
  7. Message-ID: <4ebitd$hcu@vixen.cso.uiuc.edu>
  8. References: <4dvn6t$lc3@hamilton.maths.tcd.ie> <1875.6597T1319T164@teclink.net>
  9. NNTP-Posting-Host: ux7.cso.uiuc.edu
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. rad (rad@teclink.net) wrote:
  13. : Yes, ANSI-C compilers will track all memory allocated by malloc() calloc() and
  14. : realloc() and free them on exiting the program.  It of course is better to
  15. : free your own memory as you finish with so that if you start looping your code
  16. : in the future you don't require gigabytes to run it.
  17.  
  18.     Yes, as I'm a beginner, I'll stick with the sloppy method for now 
  19. ... but as my project becomes more refined, I'll implement freeing so I 
  20. can switch over to the touted AllocMem() method ...
  21.  
  22. --
  23. =====///====================================================================
  24. ====///=======This message brought to you by dannyman@uiuc.edu==============
  25. \\\///=========HOME PAGE! http://www.uiuc.edu/ph/www/djhoward ==============
  26. =\XX/A1200==================================================================
  27.     My views are my own, and not those of my employer or UIUC. Happy Jim?
  28.